#include <cstdio>
#include <map>
#include <iostream>
#include <algorithm>
using namespace std;
map<int,int> mp;
map<int,int> ::iterator it;
int main()
{
	int n,num,max;
	while(scanf("%d",&n)!=EOF)
	{
		max = 0;
		mp.clear();
		for(int i = 0;i<n;i++)
		{
			scanf("%d",&num);
			mp[num]++;
		}
		for(it=mp.begin();it!=mp.end();it++)
		{
			if(it->second>max)
			{
				max = it->second;
			}
		}
		printf("%d\n",max);
	}
}
